#!/bin/sh

cur_path=$(cd `dirname $0`;pwd) 

mkdir -p ../docker-tars


echo postgres-9.6.tar
docker save -o ../docker-tars/postgres-9.6.tar chenjingdong/postgres:9.6

echo kong-220425.tar
docker save -o ../docker-tars/kong-220425.tar chenjingdong/kong:220425

echo konga-220425.tar
docker save -o ../docker-tars/konga-220425.tar chenjingdong/konga:220425

echo redis-6.2.2-alpine.tar
docker save -o ../docker-tars/redis-6.2.2-alpine.tar chenjingdong/redis:6.2.2-alpine

echo role-230704.tar
docker save -o ../docker-tars/role-230704.tar chenjingdong/role:230704

echo postgis-14-3.3.tar
docker save -o ../docker-tars/postgis-14-3.3.tar chenjingdong/postgis:14-3.3

echo nats-2.2.4-alpine.tar
docker save -o ../docker-tars/nats-2.2.4-alpine.tar chenjingdong/nats:2.2.4-alpine

echo we-lightning-ui-230706.tar
docker save -o ../docker-tars/we-lightning-ui-230706.tar chenjingdong/we-lightning-ui:230706

echo we-lightning-data-forword-230527.tar
docker save -o ../docker-tars/we-lightning-data-forword-230527.tar chenjingdong/we-lightning-data-forword:230527
